﻿using Models.Authority;
using Commonality.DTO.AuthorityDTO;

namespace ICarlifeService
{
    public interface IUsersService : IBaseServer<Users>
    {
        public int GetUserAdd(Users entity);
        public List<UserInfoDTO> GetUserAll(string? name = "", string? realname = "");
        //public int GetUserDelet(int id);
        public int GetUserUpdate(Users entity);
        public Users GetUserByid(int id);
        public int GetUserRemove(int id);//逻辑删除
    }
}
